package com.yunhe.tianhe.rentcars.entity.client;/**
 * Created by Administrator on 2017/11/22 0022.
 */

/**
 * @user yanxiu
 * @creat 2017-11-22 下午 8:08
 * @desc  客户实体
 **/
public class Client extends ClientCompany {

    private Long id;  //客户id

    private String mobile;  //手机号

    private String clientpwd;  //客户密码

    private String name;   //姓名

    private String idCard;  //身份证

    private String drivenNum;  //驾驶证号

    private Long companyId;  //企业代码

    private Integer creditNum=0;   // 信用分值

    private Long memLevel;  //会员等级（级别编号）

    private Integer clientState;  // 客户状态（1：正常，2：锁定）

    private String addTime;  //添加时间（默认系统时间）

    private String sex;  //性别

    private ClientCompany company;  //公司

    private Long rentCount;  //租借次数

    private String levelName; //级别名称

    private Double discount;//租车折扣

    private String isBlack;  //是否是黑名单


    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getClientpwd() {
        return clientpwd;
    }

    public void setClientpwd(String clientpwd) {
        this.clientpwd = clientpwd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getDrivenNum() {
        return drivenNum;
    }

    public void setDrivenNum(String drivenNum) {
        this.drivenNum = drivenNum;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Integer getCreditNum() {
        return creditNum;
    }

    public void setCreditNum(Integer creditNum) {
        this.creditNum = creditNum;
    }

    public Long getMemLevel() {
        return memLevel;
    }

    public void setMemLevel(Long memLevel) {
        this.memLevel = memLevel;
    }

    public Integer getClientState() {
        return clientState;
    }

    public void setClientState(Integer clientState) {
        this.clientState = clientState;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public ClientCompany getCompany() {
        return company;
    }

    public void setCompany(ClientCompany company) {
        this.company = company;
    }

    public Long getRentCount() {
        return rentCount;
    }

    public void setRentCount(Long rentCount) {
        this.rentCount = rentCount;
    }

    public String getIsBlack() {
        return isBlack;
    }

    public void setIsBlack(String isBlack) {
        this.isBlack = isBlack;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }
}
